#ifndef _OI_PLSCANNERCORE_RESULTSPLINEVIEW_H_
#define _OI_PLSCANNERCORE_RESULTSPLINEVIEW_H_

#include "PLScannerCore/OiPLScannerCore.hpp"

namespace Oi
{
    namespace PLScannerCore
    {
        class OI_PLSCANNER_CORE_API ResultSplineView : public DynamicSplineView
        {
            Q_OBJECT
        public:
            ResultSplineView(QStringList resultItems, QWidget *parent = Q_NULLPTR);
            ~ResultSplineView();

        public:
            QMap<QString, QList<QPointF>> loadData(const QDateTime from, const QDateTime end);
            void addData(const qreal dt, QMap<QString, qreal> data);
        };
    }
}

#endif